package _29define;

import java.lang.reflect.Constructor;
import java.util.Scanner;

public class StudentTest {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        String[] split=s.split(":");
        String name=split[0];
        int age=Integer.parseInt(split[1]);
        int score=Integer.parseInt(split[2]);
        Class<?> c=Class.forName("_29define.Student");
        Constructor<?> d= c.getDeclaredConstructor(String.class,int.class,int.class);
        Student student=(Student) d.newInstance(name,age,score);
        System.out.println(student);

    }
}
class Student{
    String name;
    int age;
    int sore;

    public Student() {
    }

    public Student(String name, int age, int sore) {
        this.name = name;
        this.age = age;
        this.sore = sore;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sore=" + sore +
                '}';
    }
}
